package yang.yu.sunny.infra.persistence.sales;

import yang.yu.sunny.domain.sales.Customer;

import java.util.List;

/**
 * Created by yyang on 16/3/29.
 */

public interface CustomerMapper extends AbstractSalesMapper {

    void create(Customer customer);

    Customer get(Long id);

    String getName(Long id);

    List<Customer> list(List<Long> ids);

    List<Customer> listAll();

    void remove(long customerId);
}
